package org.jxht.dto;

import org.jxht.util.BaseDto;

/**
 * Created by huang on 2017/3/18 0018.
 */
public class MajorDto extends BaseDto{

    private int majId;

    private String majName;

    private String majDetail;

    public MajorDto() {
    }

    public MajorDto(int majId) {
        this.majId = majId;
    }

    public MajorDto(int majId, String majName) {
        this.majId = majId;
        this.majName = majName;
    }

    public int getMajId() {
        return majId;
    }

    public void setMajId(int majId) {
        this.majId = majId;
    }

    public String getMajName() {
        return majName;
    }

    public void setMajName(String majName) {
        this.majName = majName;
    }

    public String getMajDetail() {
        return majDetail;
    }

    public void setMajDetail(String majDetail) {
        this.majDetail = majDetail;
    }

    @Override
    public String toString() {
        return "MajorDto{" +
                "majId='" + majId + '\'' +
                ", majName='" + majName + '\'' +
                ", majDetail='" + majDetail + '\'' +
                '}';
    }
}
